package com.example.lambda.test;

public class FilterByAge implements MyPredicate<Employer>{
    @Override
    public boolean test(Employer employer) {
        return employer.getAge()>35;
    }
}
